package com.diamond.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Clientorderdetail entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "clientorderdetail", catalog = "diamond")
public class Clientorderdetail implements java.io.Serializable {

	// Fields

	private Long cliOrdrDetailId;
	private Long cliOrdMasterId;
	private String orderNo;
	private String orderCmpName;
	private String cmpName;
	private String remark;
	private Integer amount;
	private String name;
	private String batch;
	private String supplierName;
	private String reportNo;
	private Double weight;
	private String color;
	private String clarity;
	private String finalCut;
	private String polish;
	private String lab;
	private String symmetry;
	private String HR;
	private String fluor;
	private String shape;
	private Double price;
	private Double midPrice;
	private Long inlayDiamondId;
	private Long inlayUserId;
	private String inlayBatch;
	private String inlayDiaBatch;
	private String inlayFactoryBatch;
	private String material;
	private String hand;
	private String text;
	private String submit;
	private String type;
	private String state;
	private String orderDate;
	private String payState = "0";
	private String deliverGoodsState = "0";

	// Constructors

	/** default constructor */
	public Clientorderdetail() {
	}
	
	
	public Clientorderdetail(Long cliOrdrDetailId, Long cliOrdMasterId,String orderNo,
			String remark, Integer amount, String name, String batch,
			String supplierName, String reportNo, Double weight, String color,
			String clarity, String finalCut, String polish, String lab,
			String symmetry, String hR, String fluor, String shape,
			Double price, Double midPrice, Long inlayDiamondId,
			Long inlayUserId, String inlayBatch, String inlayDiaBatch,String orderCmpName,
			String material, String hand, String text, String submit,String cmpName,
			String type, String state, String orderDate, String payState,String deliverGoodsState, String inlayFactoryBatch) {
		super();
		this.cliOrdrDetailId = cliOrdrDetailId;
		this.cliOrdMasterId = cliOrdMasterId;
		this.orderNo = orderNo;
		this.remark = remark;
		this.amount = amount;
		this.name = name;
		this.cmpName = cmpName;
		this.orderCmpName = orderCmpName;
		this.batch = batch;
		this.supplierName = supplierName;
		this.reportNo = reportNo;
		this.weight = weight;
		this.color = color;
		this.clarity = clarity;
		this.finalCut = finalCut;
		this.polish = polish;
		this.lab = lab;
		this.symmetry = symmetry;
		HR = hR;
		this.fluor = fluor;
		this.shape = shape;
		this.price = price;
		this.midPrice = midPrice;
		this.inlayDiamondId = inlayDiamondId;
		this.inlayUserId = inlayUserId;
		this.inlayBatch = inlayBatch;
		this.inlayDiaBatch = inlayDiaBatch;
		this.material = material;
		this.hand = hand;
		this.text = text;
		this.submit = submit;
		this.type = type;
		this.state = state;
		this.orderDate = orderDate;
		this.payState = payState;
		this.deliverGoodsState = deliverGoodsState;
		this.inlayFactoryBatch = inlayFactoryBatch;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "cliOrdrDetail_id", unique = true, nullable = false)
	public Long getCliOrdrDetailId() {
		return this.cliOrdrDetailId;
	}

	public void setCliOrdrDetailId(Long cliOrdrDetailId) {
		this.cliOrdrDetailId = cliOrdrDetailId;
	}

	@Column(name = "cliOrdMaster_id")
	public Long getCliOrdMasterId() {
		return this.cliOrdMasterId;
	}

	public void setCliOrdMasterId(Long cliOrdMasterId) {
		this.cliOrdMasterId = cliOrdMasterId;
	}
	
	@Column(name = "order_no", length = 500)
	public String getOrderNo() {
		return orderNo;
	}


	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}


	@Column(name = "remark", length = 500)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "amount")
	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	@Column(name = "name", length = 500)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "batch", length = 500)
	public String getBatch() {
		return this.batch;
	}

	public void setBatch(String batch) {
		this.batch = batch;
	}

	@Column(name = "supplier_name", length = 500)
	public String getSupplierName() {
		return this.supplierName;
	}

	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

	@Column(name = "report_no", length = 500)
	public String getReportNo() {
		return this.reportNo;
	}

	public void setReportNo(String reportNo) {
		this.reportNo = reportNo;
	}

	@Column(name = "weight", precision = 22, scale = 0)
	public Double getWeight() {
		return this.weight;
	}

	public void setWeight(Double weight) {
		this.weight = weight;
	}

	@Column(name = "color", length = 500)
	public String getColor() {
		return this.color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	@Column(name = "clarity", length = 500)
	public String getClarity() {
		return this.clarity;
	}

	public void setClarity(String clarity) {
		this.clarity = clarity;
	}

	@Column(name = "final_cut", length = 500)
	public String getFinalCut() {
		return this.finalCut;
	}

	public void setFinalCut(String finalCut) {
		this.finalCut = finalCut;
	}

	@Column(name = "polish", length = 500)
	public String getPolish() {
		return this.polish;
	}

	public void setPolish(String polish) {
		this.polish = polish;
	}

	@Column(name = "lab", length = 500)
	public String getLab() {
		return this.lab;
	}

	public void setLab(String lab) {
		this.lab = lab;
	}

	@Column(name = "symmetry", length = 500)
	public String getSymmetry() {
		return this.symmetry;
	}

	public void setSymmetry(String symmetry) {
		this.symmetry = symmetry;
	}

	@Column(name = "h_r", length = 500)
	public String getHR() {
		return this.HR;
	}

	public void setHR(String HR) {
		this.HR = HR;
	}

	@Column(name = "fluor", length = 500)
	public String getFluor() {
		return this.fluor;
	}

	public void setFluor(String fluor) {
		this.fluor = fluor;
	}

	@Column(name = "shape", length = 500)
	public String getShape() {
		return this.shape;
	}

	public void setShape(String shape) {
		this.shape = shape;
	}

	@Column(name = "price", precision = 22, scale = 0)
	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}
	@Column(name = "mid_price", precision = 22, scale = 0)
	public Double getMidPrice() {
		return midPrice;
	}

	public void setMidPrice(Double midPrice) {
		this.midPrice = midPrice;
	}

	@Column(name = "inlay_diamond_id", length = 100)
	public Long getInlayDiamondId() {
		return inlayDiamondId;
	}

	public void setInlayDiamondId(Long inlayDiamondId) {
		this.inlayDiamondId = inlayDiamondId;
	}

	@Column(name = "submit", length = 500)
	public String getSubmit() {
		return this.submit;
	}
	public void setSubmit(String submit) {
		this.submit = submit;
	}

	@Column(name = "type", length = 10)
	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Column(name = "state", length = 10)
	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}
	
	@Column(name = "order_date", length = 10)
	public String getOrderDate() {
		return orderDate;
	}

	public void setOrderDate(String orderDate) {
		this.orderDate = orderDate;
	}

	@Column(name = "pay_state", length = 10)
	public String getPayState() {
		return payState;
	}

	public void setPayState(String payState) {
		this.payState = payState;
	}
	
	@Column(name = "deliver_goods_state", length = 10)
	public String getDeliverGoodsState() {
		return deliverGoodsState;
	}

	public void setDeliverGoodsState(String deliverGoodsState) {
		this.deliverGoodsState = deliverGoodsState;
	}
	
	@Column(name = "inlay_batch", length = 500)
	public String getInlayBatch() {
		return inlayBatch;
	}

	public void setInlayBatch(String inlayBatch) {
		this.inlayBatch = inlayBatch;
	}
	@Column(name = "inlay_dia_batch", length = 500)
	public String getInlayDiaBatch() {
		return inlayDiaBatch;
	}

	public void setInlayDiaBatch(String inlayDiaBatch) {
		this.inlayDiaBatch = inlayDiaBatch;
	}
	@Column(name = "material", length = 500)
	public String getMaterial() {
		return material;
	}

	public void setMaterial(String material) {
		this.material = material;
	}
	@Column(name = "hand", length = 500)
	public String getHand() {
		return hand;
	}

	public void setHand(String hand) {
		this.hand = hand;
	}
	@Column(name = "text", length = 500)
	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}
	@Column(name = "inlay_user_id", length = 100)
	public Long getInlayUserId() {
		return inlayUserId;
	}

	public void setInlayUserId(Long inlayUserId) {
		this.inlayUserId = inlayUserId;
	}

	@Column(name = "inlay_factory_batch", length = 500)
	public String getInlayFactoryBatch() {
		return inlayFactoryBatch;
	}


	public void setInlayFactoryBatch(String inlayFactoryBatch) {
		this.inlayFactoryBatch = inlayFactoryBatch;
	}

	@Column(name = "cmp_name", length = 500)
	public String getCmpName() {
		return cmpName;
	}


	public void setCmpName(String cmpName) {
		this.cmpName = cmpName;
	}

	@Column(name = "order_cmp_name", length = 500)
	public String getOrderCmpName() {
		return orderCmpName;
	}


	public void setOrderCmpName(String orderCmpName) {
		this.orderCmpName = orderCmpName;
	}
	

}